package com.srv.persistence;

import java.util.List;
import java.util.Map;

import com.srv.model.ID;
import com.srv.util.ObjectField;
/**
 * ID相关的接口
 * @author Administrator
 *
 */
public interface IIDPersistence {	
	
	public List<ID> queryID(Map<ObjectField, Object> keyValues) throws PersistenceException;
	
	public ID getID(String id) throws PersistenceException;
	
	public ID insertID(ID idObj) throws PersistenceException;
	
	public boolean updateID(String id, Map<ObjectField, Object> keyValues)throws PersistenceException ;
}
